package pta06;
import java.util.Scanner;
public class pta651 {

	public static void main(String[] args) {
		Scanner in=new Scanner(System.in);
		int[] arr=new int[5];
		while(in.hasNext()){
			String str=in.next();
			
			try {
				if(str.equals("arr")){
						int n=in.nextInt();
						arr[n]=n;
				}
				else if(str.equals("null")){
				  String  s=null;  s.length();
				}
				else if(str.equals("cast")){
						Object a="a";
						Integer b=(Integer) a;
				}
				else if(str.equals("num")){
						int a=Integer.parseInt(in.next());
				}
				else break;
			} catch (Exception e) {
				System.out.println(e);
			}
		}
	in.close();
	}
}
